import React from 'react';
import TweenOne from 'rc-tween-one';
import OverPack from 'rc-scroll-anim/lib/ScrollOverPack';

class Footer extends React.PureComponent {
  render() {
    const { ...props } = this.props;
    delete props.dataSource;
    delete props.isMobile;
    return (
      <div {...props} className="home-page-wrapper footer0-wrapper">
        <OverPack className="home-page footer0" playScale={0.05}>
          <TweenOne
            animation={{ y: '+=30', opacity: 0, type: 'from' }}
            key="footer"
            className="copyright"
          >
            <span>
              ©2018 <a href="https://motion.ant.design">Ant Motion</a> All Rights
              Reserved
            </span>
          </TweenOne>
        </OverPack>
      </div>
    );
  }
}

export default Footer;
